package com.github.gin.spring.boot.errorhandling.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by GinPonson on 12/14/2016.
 */
@RestController
public class TestController {

    @RequestMapping("/")
    public String index(){
        throw new RuntimeException();
        //return "hello world!";
    }
}
